package com.hehua.BridagePatternTwo;

/**
 * jpg格式图像类
 */
public class JPGimage extends Image{
    @Override
    public void parseFile(String fileName) {
        //模拟解析JPG文件并获取一个像素矩阵对象
        Matrix matrix = new Matrix();
        imp.doPaint(matrix);
        System.out.println(fileName+"格式为jpg");
    }
}
